package io.finer.erp.jeecg.bas.service;

import java.io.Serializable;
import java.util.Collection;

import org.jeecg.common.api.vo.Result;

import com.baomidou.mybatisplus.extension.service.IService;

import io.finer.erp.jeecg.bas.entity.CreateCuttingParams;
import io.finer.erp.jeecg.bas.entity.ZrkCutting;

/**
 * @Description: 智能分切
 * @Author: jeecg-boot
 * @Date:   2020-08-25
 * @Version: V1.0
 */
public interface IZrkCuttingService extends IService<ZrkCutting> {

	/**
	 * 删除一对多
	 */
	public void delMain (String id);
	
	/**
	 * 批量删除一对多
	 */
	public void delBatchMain (Collection<? extends Serializable> idList);
	
	public Result<Object> createCutting(ZrkCutting cutting);

	/**
	 * @Description 生成智能分切方案方法
	 * @param param
	 * @return
	 * Create at: 2020-09-08 16:14:41
	 * @author: duanyong
	 * Revision:
	 *    2020-09-08 16:14:41 - first revision by duanyong
	 *        
	 */
	public Result<Object> createCuttingMethod(CreateCuttingParams param, String zrkQzOrderId);

	public void deleteByMainId(String id);
}
